Integrand size = 25, antiderivative size = 165 \[ \int \cot ^5(e+f x) \sqrt {a+b \sin ^2(e+f x)} \, dx=-\frac {\left (8 a^2-8 a b-b^2\right ) \text {arctanh}\left (\frac {\sqrt {a+b \sin ^2(e+f x)}}{\sqrt {a}}\right )}{8 a^{3/2} f}+\frac {\left (8 a^2-8 a b-b^2\right ) \sqrt {a+b \sin ^2(e+f x)}}{8 a^2 f}+\frac {(8 a+b) \csc ^2(e+f x) \left (a+b \sin ^2(e+f x)\right )^{3/2}}{8 a^2 f}-\frac {\csc ^4(e+f x) \left (a+b \sin ^2(e+f x)\right )^{3/2}}{4 a f} \]
[Out]
Time = 0.17 (sec) , antiderivative size = 165, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.240, Rules used = {3273, 91, 79, 52, 65, 214} \[ \int \cot ^5(e+f x) \sqrt {a+b \sin ^2(e+f x)} \, dx=\frac {\left (8 a^2-8 a b-b^2\right ) \sqrt {a+b \sin ^2(e+f x)}}{8 a^2 f}+\frac {(8 a+b) \csc ^2(e+f x) \left (a+b \sin ^2(e+f x)\right )^{3/2}}{8 a^2 f}-\frac {\left (8 a^2-8 a b-b^2\right ) \text {arctanh}\left (\frac {\sqrt {a+b \sin ^2(e+f x)}}{\sqrt {a}}\right )}{8 a^{3/2} f}-\frac {\csc ^4(e+f x) \left (a+b \sin ^2(e+f x)\right )^{3/2}}{4 a f} \]
[In]
[Out]
Rule 52
Rule 65
Rule 79
Rule 91
Rule 214
Rule 3273
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {(1-x)^2 \sqrt {a+b x}}{x^3} \, dx,x,\sin ^2(e+f x)\right )}{2 f} \\ & = -\frac {\csc ^4(e+f x) \left (a+b \sin ^2(e+f x)\right )^{3/2}}{4 a f}+\frac {\text {Subst}\left (\int \frac {\left (\frac {1}{2} (-8 a-b)+2 a x\right ) \sqrt {a+b x}}{x^2} \, dx,x,\sin ^2(e+f x)\right )}{4 a f} \\ & = \frac {(8 a+b) \csc ^2(e+f x) \left (a+b \sin ^2(e+f x)\right )^{3/2}}{8 a^2 f}-\frac {\csc ^4(e+f x) \left (a+b \sin ^2(e+f x)\right )^{3/2}}{4 a f}+\frac {\left (8 a^2-8 a b-b^2\right ) \text {Subst}\left (\int \frac {\sqrt {a+b x}}{x} \, dx,x,\sin ^2(e+f x)\right )}{16 a^2 f} \\ & = \frac {\left (8 a^2-8 a b-b^2\right ) \sqrt {a+b \sin ^2(e+f x)}}{8 a^2 f}+\frac {(8 a+b) \csc ^2(e+f x) \left (a+b \sin ^2(e+f x)\right )^{3/2}}{8 a^2 f}-\frac {\csc ^4(e+f x) \left (a+b \sin ^2(e+f x)\right )^{3/2}}{4 a f}+\frac {\left (8 a^2-8 a b-b^2\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,\sin ^2(e+f x)\right )}{16 a f} \\ & = \frac {\left (8 a^2-8 a b-b^2\right ) \sqrt {a+b \sin ^2(e+f x)}}{8 a^2 f}+\frac {(8 a+b) \csc ^2(e+f x) \left (a+b \sin ^2(e+f x)\right )^{3/2}}{8 a^2 f}-\frac {\csc ^4(e+f x) \left (a+b \sin ^2(e+f x)\right )^{3/2}}{4 a f}+\frac {\left (8 a^2-8 a b-b^2\right ) \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \sin ^2(e+f x)}\right )}{8 a b f} \\ & = -\frac {\left (8 a^2-8 a b-b^2\right ) \text {arctanh}\left (\frac {\sqrt {a+b \sin ^2(e+f x)}}{\sqrt {a}}\right )}{8 a^{3/2} f}+\frac {\left (8 a^2-8 a b-b^2\right ) \sqrt {a+b \sin ^2(e+f x)}}{8 a^2 f}+\frac {(8 a+b) \csc ^2(e+f x) \left (a+b \sin ^2(e+f x)\right )^{3/2}}{8 a^2 f}-\frac {\csc ^4(e+f x) \left (a+b \sin ^2(e+f x)\right )^{3/2}}{4 a f} \\ \end{align*}
Time = 0.60 (sec) , antiderivative size = 103, normalized size of antiderivative = 0.62 \[ \int \cot ^5(e+f x) \sqrt {a+b \sin ^2(e+f x)} \, dx=\frac {\left (-8 a^2+8 a b+b^2\right ) \text {arctanh}\left (\frac {\sqrt {a+b \sin ^2(e+f x)}}{\sqrt {a}}\right )+\sqrt {a} \left (8 a+(8 a-b) \csc ^2(e+f x)-2 a \csc ^4(e+f x)\right ) \sqrt {a+b \sin ^2(e+f x)}}{8 a^{3/2} f} \]
[In]
[Out]
Time = 1.33 (sec) , antiderivative size = 212, normalized size of antiderivative = 1.28
method | result | size |
default | \(\frac {\sqrt {a +b \left (\sin ^{2}\left (f x +e \right )\right )}-\frac {\sqrt {a +b \left (\sin ^{2}\left (f x +e \right )\right )}}{4 \sin \left (f x +e \right )^{4}}-\frac {b \sqrt {a +b \left (\sin ^{2}\left (f x +e \right )\right )}}{8 a \sin \left (f x +e \right )^{2}}+\frac {b^{2} \ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {a +b \left (\sin ^{2}\left (f x +e \right )\right )}}{\sin \left (f x +e \right )}\right )}{8 a^{\frac {3}{2}}}-\sqrt {a}\, \ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {a +b \left (\sin ^{2}\left (f x +e \right )\right )}}{\sin \left (f x +e \right )}\right )+\frac {b \ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {a +b \left (\sin ^{2}\left (f x +e \right )\right )}}{\sin \left (f x +e \right )}\right )}{\sqrt {a}}+\frac {\sqrt {a +b \left (\sin ^{2}\left (f x +e \right )\right )}}{\sin \left (f x +e \right )^{2}}}{f}\) | \(212\) |
[In]
[Out]
none
Time = 1.29 (sec) , antiderivative size = 415, normalized size of antiderivative = 2.52 \[ \int \cot ^5(e+f x) \sqrt {a+b \sin ^2(e+f x)} \, dx=\left [-\frac {{\left ({\left (8 \, a^{2} - 8 \, a b - b^{2}\right )} \cos \left (f x + e\right )^{4} - 2 \, {\left (8 \, a^{2} - 8 \, a b - b^{2}\right )} \cos \left (f x + e\right )^{2} + 8 \, a^{2} - 8 \, a b - b^{2}\right )} \sqrt {a} \log \left (\frac {2 \, {\left (b \cos \left (f x + e\right )^{2} - 2 \, \sqrt {-b \cos \left (f x + e\right )^{2} + a + b} \sqrt {a} - 2 \, a - b\right )}}{\cos \left (f x + e\right )^{2} - 1}\right ) - 2 \, {\left (8 \, a^{2} \cos \left (f x + e\right )^{4} - {\left (24 \, a^{2} - a b\right )} \cos \left (f x + e\right )^{2} + 14 \, a^{2} - a b\right )} \sqrt {-b \cos \left (f x + e\right )^{2} + a + b}}{16 \, {\left (a^{2} f \cos \left (f x + e\right )^{4} - 2 \, a^{2} f \cos \left (f x + e\right )^{2} + a^{2} f\right )}}, \frac {{\left ({\left (8 \, a^{2} - 8 \, a b - b^{2}\right )} \cos \left (f x + e\right )^{4} - 2 \, {\left (8 \, a^{2} - 8 \, a b - b^{2}\right )} \cos \left (f x + e\right )^{2} + 8 \, a^{2} - 8 \, a b - b^{2}\right )} \sqrt {-a} \arctan \left (\frac {\sqrt {-b \cos \left (f x + e\right )^{2} + a + b} \sqrt {-a}}{a}\right ) + {\left (8 \, a^{2} \cos \left (f x + e\right )^{4} - {\left (24 \, a^{2} - a b\right )} \cos \left (f x + e\right )^{2} + 14 \, a^{2} - a b\right )} \sqrt {-b \cos \left (f x + e\right )^{2} + a + b}}{8 \, {\left (a^{2} f \cos \left (f x + e\right )^{4} - 2 \, a^{2} f \cos \left (f x + e\right )^{2} + a^{2} f\right )}}\right ] \]
[In]
[Out]
\[ \int \cot ^5(e+f x) \sqrt {a+b \sin ^2(e+f x)} \, dx=\int \sqrt {a + b \sin ^{2}{\left (e + f x \right )}} \cot ^{5}{\left (e + f x \right )}\, dx \]
[In]
[Out]
none
Time = 0.21 (sec) , antiderivative size = 215, normalized size of antiderivative = 1.30 \[ \int \cot ^5(e+f x) \sqrt {a+b \sin ^2(e+f x)} \, dx=-\frac {8 \, \sqrt {a} \operatorname {arsinh}\left (\frac {a}{\sqrt {a b} {\left | \sin \left (f x + e\right ) \right |}}\right ) - \frac {8 \, b \operatorname {arsinh}\left (\frac {a}{\sqrt {a b} {\left | \sin \left (f x + e\right ) \right |}}\right )}{\sqrt {a}} - \frac {b^{2} \operatorname {arsinh}\left (\frac {a}{\sqrt {a b} {\left | \sin \left (f x + e\right ) \right |}}\right )}{a^{\frac {3}{2}}} - 8 \, \sqrt {b \sin \left (f x + e\right )^{2} + a} + \frac {8 \, \sqrt {b \sin \left (f x + e\right )^{2} + a} b}{a} + \frac {\sqrt {b \sin \left (f x + e\right )^{2} + a} b^{2}}{a^{2}} - \frac {8 \, {\left (b \sin \left (f x + e\right )^{2} + a\right )}^{\frac {3}{2}}}{a \sin \left (f x + e\right )^{2}} - \frac {{\left (b \sin \left (f x + e\right )^{2} + a\right )}^{\frac {3}{2}} b}{a^{2} \sin \left (f x + e\right )^{2}} + \frac {2 \, {\left (b \sin \left (f x + e\right )^{2} + a\right )}^{\frac {3}{2}}}{a \sin \left (f x + e\right )^{4}}}{8 \, f} \]
[In]
[Out]
Timed out. \[ \int \cot ^5(e+f x) \sqrt {a+b \sin ^2(e+f x)} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \cot ^5(e+f x) \sqrt {a+b \sin ^2(e+f x)} \, dx=\int {\mathrm {cot}\left (e+f\,x\right )}^5\,\sqrt {b\,{\sin \left (e+f\,x\right )}^2+a} \,d x \]
[In]
[Out]